//
//  CTMediator+AModule.m
//  MainProject
//
//  Created by 神州锐达 on 2018/1/17.
//  Copyright © 2018年 onePiece. All rights reserved.
//

#import "CTMediator+AModule.h"

NSString *const kCTMediatorTargetAModule = @"AModule";
NSString *const kCTMediatorActionAModuleViewController = @"AModuleViewController";

@implementation CTMediator (AModule)

-(UIViewController *)AModule_aViewControllerWithCallBack:(void (^)(NSString *))callBack{
    
        NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
        params[@"name"] = @"A模块";
    
    if (callBack) {
        callBack(@"A模块");
    }
    
        return [self performTarget:kCTMediatorTargetAModule action:kCTMediatorActionAModuleViewController params:params shouldCacheTarget:NO];
    
}


@end
